package com.joker.orange.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.joker.orange.domain.CaricatureInfo;
import com.joker.orange.domain.bo.CaricatureInfoBo;
import com.joker.orange.domain.vo.CaricatureInfoVo;
import com.joker.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 漫画信息Mapper接口
 *
 * @author Joker
 * @date 2024-06-09
 */
public interface CaricatureInfoMapper extends BaseMapperPlus<CaricatureInfoMapper, CaricatureInfo, CaricatureInfoVo> {

    Page<CaricatureInfoVo> queryPageList(@Param("page") Page<CaricatureInfoVo> page, @Param(Constants.WRAPPER) Wrapper<CaricatureInfo> wrapper);

    void updateCaricatureChapterAndHeatNum(CaricatureInfoBo bo);
}
